package com.medusa.aps.business.modules.demand.model.input;

import com.medusa.aps.business.model.enums.SettingsForSchedulingType;
import com.medusa.aps.business.global.model.o.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDate;


@Getter
@Setter
public class GlobalSettingsForSchedulingDTO implements BaseDTO {

    /**
     * 主键
     */
    @Schema(description = "主键id")
    @NotNull(message = "id不能为空")
    private Integer id;
    /**
     * 排程开始时间
     */
    @Schema(description = "排程开始时间")
//    @NotNull(message = "排程开始时间不能为空")
    private LocalDate schedulingStartTime;
    /**
     * 排程结束时间
     */
    @Schema(description = "排程结束时间")
//    @NotNull(message = "排程开始时间不能为空")
    private LocalDate schedulingEndTime;

    /**
     * 排产时间设置类型
     */
    @NotNull(message = "排产时间设置类型不能为空")
    @Schema(description = "排产时间设置类型")
    private SettingsForSchedulingType settingsForSchedulingType;

}
